package com.fessc.develop.mapper;

import com.fessc.develop.entity.comvo.SettlePurchaseOrderVo;
import com.fessc.develop.entity.comvo.SettleSaleOrderVo;
import com.fessc.develop.entity.dbvo.SettleTrade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SettleTradeMapper extends BaseMapper<SettleTrade> {

    List<SettleSaleOrderVo> getSettleTradeSaleOrderList(@Param("orderno") String orderno);

    List<SettlePurchaseOrderVo> getSettleTradePurchaseOrderList(@Param("orderno") String orderno);

    List<SettleTrade> getSettleTradeByBankIdToPush(@Param("bankid") String bankid, @Param("insertDate") String insertDate);

}
